#include <my_header.h>
#include "Func.h"
int func_pwd(char * ant,stringStack_t * stack)
{
    if(stack->stackSize==0){
        ant[0]='/';
        //strcat(ant,"/");
        return 0;
    }
    node_t * cur = stack->pFront;
    while(cur){
    char * hhh=cur->name;
    strcat(ant,"/");         
    strcat(ant,hhh);
    cur=cur->pNext;
    }

    return 0;
}

